NAG Logo
Numerical Algorithms Group

Maple-NAG Connector FAQ

Questions


Answers

  1. Do I need to purchase both Maple and the NAG C Library, in order to use the Maple-NAG Connector?[Top]

    Yes.
  2. Is my platform supported?[Top]

    Supported platforms are 32bit Windows, 32bit Linux (RedHat 9 or compatible), and OSX on PowerPC.
  3. How do I know which version of the NAG C Library to use?[Top]

    Supported version are:

    • Windows: CLDLL074ZL CLDLL074YL
    • 32bit Linux: CLLUX07DDL CLLUX08DGL CLL3A08DGL
    • OSX PowerPC: CLAMP07DAL


    • See http://www.nag.com/downloads/cldownloads.asp for more details.The answer may depend on whether you intend to use the NAG C Library as a stand-alone product (ie, not with the Maple-NAG Connector) and if so will depend on which compiler you would want to use with it.

  4. Which additional versions of the NAG C Library will be supported in the release of the Maple-NAG Connector for use with Maple 11?[Top]

    Solaris on SPARC: CLSOL08DCL
  5. What functionality of the NAG C Library is supported by the Maple-NAG Connector?[Top]

    All the computational user-level functions in the NAG C Library Mark 7 are supported by the Maple-NAG Connector. When using the Maple-NAG Connector with Mark 8 of the NAG C Library only the functions already present in Mark 7 are supported.

  6. I run 32bit Linux, and wish to obtain Mark 8 of the NAG C Library, but I do not know whether to obtain CLLUX08DGL for Intel architecture or CLL3A08DGL for AMD architecture.[Top]

    Contact NAG (see A5 above). You may first wish to determine your host's architecture by running bin.IBM_INTEL_LINUX/processor from under the location of your Maple 10 installation.
  7. Do I need a compiler, to use the Maple-NAG Connector product?[Top]

    No. A compiler is only required to use the NAG C Library as a stand-alone product.
  8. Whom do I contact, for technical support?[Top]

  9. What sort of licenses do I need?[Top]

    A valid Maple license, available from Maplesoft, a valid NAG C Library license, available from NAG, and a valid Maple-NAG Connector license, available from the company (Maplesoft or NAG) from whom you purchased the product.
  10. After installing, do I need to run the NAG[NAGVersion] routine?[Top]

    If you are using Mark 7 of the NAG C Library for Linux, YES, you must run NAG[NAGVersion] with arguments Mark=7. The ‘pvalue’ argument is optional. See Question 17 for more on valid pvalues. > NAG[NAGVersion]( Mark=7 ); For all other combinations of Mark and platform, the routine NAG[NAGVersion] does NOT need to be run. See ?NAG[NAGVersion] for details.
  11. How can I avoid having to run NAG[NAGVersion] in each new Maple session, to tell the Maple-NAG Connector which version of the NAG C Library to use?[Top]

    Run the NAG[NAGVersion] routine with the saveversion=true option. See ?NAG[NAGVersion] for details.
  12. I installed all of Maple 10, the NAG C Library Mark 7 for Windows, and the Maple-NAG Connector (10), but it does not work. Why?[Top]

    A reboot is necessary, after installing the NAG C Library for Windows, prior to using the Maple-NAG Connector. This is necessary in order for Windows to be able to find the NAG C Library in the PATH.
  13. I installed all of Maple 10, the NAG C Library for Linux, and the Maple-NAG Connector (10), but it does not work. Why?[Top]

    Ensure that the location of the NAG C Library shared objects (libraries, such as libnagc_nag.so) is in LD_LIBRARY_PATH. See Install.html for details.
  14. I installed all of Maple 10, the NAG C Library for OSX, and the Maple-NAG Connector (10), but it does not work. Why?[Top]

    Ensure that the libnagc.dylib shared object is installed to a system location. The recommended location is /usr/lib . See,
    http://www.nag.com/doc/inun/cl07/ampdal/in.html for details.
  15. I do not have permission to install the NAG C Library for OSX to a system location such as /usr/lib . Where can I put it do that the Maple-NAG Connector works?[Top]

    Install the Maple-NAG Connector privately. This usually means installing it under /Users/$USERNAME/maple/toolbox/10/NAG . After installing the Maple-NAG Connector, copy the libnagc.dylib file to /Users/$USERNAME/maple/toolbox/10/NAG/bin.APPLE_PPC_OSX/ .
  16. Can I run using different performance versions of the NAG C Library within a single Maple session.[Top]

    No. Maple must be exited (not just a Maple restart) between using the Maple-NAG Connector with different performance versions of the NAG C Library. Here "use" excludes using the NAG[NAGVersion] routine to configure the choice of performance versions.
  17. Which performance libraries (choices for pvalue in argumen Performance=pvalue for routine NAG[NAGVersion]) are possible?[Top]

    This depends on the version of the NAG C Library installed.

    • OSX: CLAMP07DAL :
      Valid choices are: Performance='NAG'
    • Windows: CLDLL074ZL, CLDLL074YL :
      Valid choices are: Performance='NAG' or Performance='MKL'
    • Linux: CLLUX07DDL :
      Valid choices are: Performance='NAG' or Performance='MKL'
    • Linux: CLLUX08DGL :
      Valid choices are: Performance='NAG' or Performance='MKL'
    • Linux: CLL3A09DGL :
      Valid choices are: Performance='NAG' or Performance='ACML'
  18. How can I find out the current settings for the Mark and performance choices for the Maple-NAG Connector, in my Maple session?[Top]

    Run the NAG[NAGVersion] command with no arguments, eg, NAG[NAGVersion]();
  19. Can I make use of multiple CPUs when using the MKL Performance version of the NAG C Library (if available)?[Top]

    Yes. Set the operating system environment variable OMP_NUM_THREADS to the desired positive integer in the shell from which Maple is started. For example, on a dual-core (not hyperthreaded) or dual-CPU SMP machine OMP_NUM_THREADS could be set to 2 .
© The Numerical Algorithms Group 2008
Privacy Policy | Trademarks

© Numerical Algorithms Group

Visit NAG on the web at:

www.nag.co.uk (Europe and ROW)
www.nag.com (North America)
www.nag-j.co.jp (Japan)

http://www.nag.co.uk/numeric/MC/mc01/mc01_faq.asp